package com.ggh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**

 * @author ： jj
 * @date ：2019/10/25 14:35
 * @description : 上庄的相关设置金额
 * @path : RulesMoneyBean.java.RulesMoneyBean
 */
@Data
@TableName("rules_money")
public class RulesMoneyBean extends Model<RulesMoneyBean> {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private int money1;
    private int money2;
    private int money3;
    private int money4;
    private int money5;
    /**
    上庄规则
    */
    private String regulation;
    /**
    * 0大牌九
    * 1小牌九
    * */
    private String type;
    /**
     * 最低入场标准
     */
    @TableField("bottom_money")
    private Integer bottomMoney;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
